<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li>
                <a href="#" role="button">
					<?php $loginAuth = check_auth();
					echo $loginAuth['avatar'] ? '<img src="/upload/' . $loginAuth['avatar'] . '" style="margin-right:10px;width:30px;height:30px" alt="">' : '<i class="icon-user"></i>' ?><?php echo $loginAuth['username']; ?>
                </a>
            </li>
            <li>
                <a href="/index.php?action=logout" class="hidden-phone visible-tablet visible-desktop" role="button"
                   onclick="return confirm('确认退出当前账号？');" style="padding: 15px 15px;">Logout</a>
            </li>
        </ul>
        <a class="brand" href="/index.php"><span class="second">Admin</span></a>
    </div>
</div>